import { request } from '@/apis';
import { addPrefix } from '@/utils/helper';

const prefixUrl = '/ep-query';

const Api = {
  getEnvironmentalInsuranceF9: '/getEnvironmentalInsuranceF9'
};

addPrefix(Api, prefixUrl);

export interface EnvironmentalInsuranceF9Params {
  pageSize: number;
  pageNum: number;
  type: number;
  companyId: string;
}

export const getEnvironmentalInsuranceF9 = (params: EnvironmentalInsuranceF9Params) => request.get({ url: Api.getEnvironmentalInsuranceF9, params });
